import { createApp } from 'vue'
import App from './App.vue'

import JaxBase from 'jax' // 基础UI
import JaxUI from 'jax-admin' // 米京公共库
import JaxNode from 'jax-node' // 米京Node项目专用
// import * as echarts from 'echarts'
import router from './router'
import config from './config'
import 'font-awesome/css/font-awesome.css'
// import 'element-plus/theme-chalk/dark/css-vars.css'

// 自适应
import './utils/screen-1920.js'

// 当前项目的公共样式
import '@/scss/index.scss'

const app = createApp(App)

app.config.devtools = true
app.config.globalProperties.$config = config
// app.config.globalProperties.$echarts = echarts

app.use(JaxBase).use(JaxUI).use(JaxNode).use(router)

app.mount('#app')
